import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import pages from 'vite-plugin-pages'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), pages()],
  server: {
    host: '0.0.0.0',
    port: 8000,
    fs: {
      strict: false
    }
  },
  resolve: {
    alias: [{ find: 'src', replacement: '/src' }]
  }
})
